package com.backstage.service;

import com.backstage.pojo.dto.Message;
import com.backstage.pojo.entity.SysRole;
import com.backstage.pojo.vo.SysRoleVo;


import java.util.List;

public interface SysRoleService {

    Message<List<SysRoleVo>>roleList(SysRoleVo sysRoleVo);
    Message<SysRoleVo> addRole(SysRoleVo role);
    Message<SysRoleVo> updateRole(SysRoleVo role);
    Message<String> deleteRole(Long id);
    Message<String> deleteRoleList(List<Long> roles);
}
